package org.jvending.provisioning.stocking.par.impl;

public class DeviceRequirementTypeDriver implements org.apache.ws.jaxme.impl.JMSAXDriver {
  public org.xml.sax.helpers.AttributesImpl getAttributes(org.apache.ws.jaxme.impl.JMSAXDriverController pController, java.lang.Object pObject) throws org.xml.sax.SAXException {
    org.xml.sax.helpers.AttributesImpl _1 = new org.xml.sax.helpers.AttributesImpl();
    return _1;
  }

  public java.lang.String getPreferredPrefix(java.lang.String pURI) {
    if (pURI == null) {
      pURI = "";
    }
    if (pURI.equals("http://java.sun.com/xml/ns/j2ee-cp")) {
      return "j2ee-cp";
    }
    return null;
  }

  public void marshalChilds(org.apache.ws.jaxme.impl.JMSAXDriverController pController, org.xml.sax.ContentHandler pHandler, java.lang.Object pObject) throws org.xml.sax.SAXException {
    org.jvending.provisioning.stocking.par.DeviceRequirementType _1 = (org.jvending.provisioning.stocking.par.DeviceRequirementType) pObject;
    java.lang.String _2 = _1.getRequirementName();
    if (_2 != null) {
      pController.marshalSimpleChild(this, "http://java.sun.com/xml/ns/j2ee-cp", "requirement-name", _1.getRequirementName());
    }
    java.lang.String _3 = _1.getRequirementValue();
    if (_3 != null) {
      pController.marshalSimpleChild(this, "http://java.sun.com/xml/ns/j2ee-cp", "requirement-value", _1.getRequirementValue());
    }
  }

}
